package com.study.testSSMPlus.enumUtils;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.core.enums.IEnum;

public enum StatusEnum implements IEnum<Integer> {

	NORMAl(1,"正常"),DELETE(0,"删除");
	
	private Integer code;
	
	private String status;

	private StatusEnum(Integer code, String status) {
		this.code = code;
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	@Override
	public Integer getValue() {
		return this.code;
	}
	
}
